package com.junzhiit.nengji.shop.web.vo;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.bainaeco.framework.base.BaseObject;
import com.bainaeco.framework.util.DateUtil;
import com.bainaeco.framework.util.serializer.CustomDateSerializerHMS;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

public class BookingVO extends BaseObject {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	// 预定时间
	@DateTimeFormat(pattern = DateUtil.DATETIME_PATTERN_DEFAULT)
	@JsonSerialize(using = CustomDateSerializerHMS.class)
	private Date chooseTime;
	
	// 有效时间
	private Long validTime;

	// 桌号类型ID
	private String tableTypeId;

	// 店铺ID
	private String shopId;

	// 用户ID
	private String userId;

	// 定金
	private Double money;

	// 人数
	private Integer number;

	// 联系人名称
	private String linkmanName;

	// 联系人性别
	private Integer linkmanSex;

	// 联系人电话号码
	private String linkmanMobilePhone;

	// 预约类型(0:只订座,1:提前点菜)
	private Integer bookingType;

	// 备注
	private String remark;
	
	//微信支付参数
	private String tradeType;
	
	//取得微信配置ID
	private String wcId;
	
	//支付方式
	private Integer payWay;

	public Date getChooseTime() {
		return chooseTime;
	}

	public void setChooseTime(Date chooseTime) {
		this.chooseTime = chooseTime;
	}

	public String getTableTypeId() {
		return tableTypeId;
	}

	public void setTableTypeId(String tableTypeId) {
		this.tableTypeId = tableTypeId;
	}

	public String getShopId() {
		return shopId;
	}

	public void setShopId(String shopId) {
		this.shopId = shopId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public Double getMoney() {
		return money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}

	public Integer getNumber() {
		return number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

	public String getLinkmanName() {
		return linkmanName;
	}

	public void setLinkmanName(String linkmanName) {
		this.linkmanName = linkmanName;
	}

	public Integer getLinkmanSex() {
		return linkmanSex;
	}

	public void setLinkmanSex(Integer linkmanSex) {
		this.linkmanSex = linkmanSex;
	}

	public String getLinkmanMobilePhone() {
		return linkmanMobilePhone;
	}

	public void setLinkmanMobilePhone(String linkmanMobilePhone) {
		this.linkmanMobilePhone = linkmanMobilePhone;
	}

	public Integer getBookingType() {
		return bookingType;
	}

	public void setBookingType(Integer bookingType) {
		this.bookingType = bookingType;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getTradeType() {
		return tradeType;
	}

	public void setTradeType(String tradeType) {
		this.tradeType = tradeType;
	}

	public String getWcId() {
		return wcId;
	}

	public void setWcId(String wcId) {
		this.wcId = wcId;
	}

	public Integer getPayWay() {
		return payWay;
	}

	public void setPayWay(Integer payWay) {
		this.payWay = payWay;
	}

	public Long getValidTime() {
		return validTime;
	}

	public void setValidTime(Long validTime) {
		this.validTime = validTime;
	}
	
}
